//
//  LoginViewController.h
//  soccer
//
//  Created by 上官千城 on 15/9/10.
//  Copyright (c) 2015年 上官千城. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ConsultViewController.h"
#import "RegisteredController.h"
#import "ConsultSegmentController.h"
#import "HTTP.h"
#import "OUserRegLogic.h"
@protocol setLoginRootViewController <NSObject>

-(void)setRootViewControllerLog;

@end


@interface LoginViewController : UIViewController<setLoginRootViewController>
@property(nonatomic,strong)id<setLoginRootViewController>loginDelegate;
//用户名
@property(nonatomic,strong)UITextField *userName;
//密码
@property(nonatomic,strong)UITextField *password1;
//注册字典
@property(nonatomic,strong)NSMutableDictionary *dic;
//cookie名字
@property(nonatomic,copy)NSString *name;
//token
@property(nonatomic,copy)NSString *token;
//sign
@property(nonatomic,copy)NSString *sign;

@property(nonatomic,strong)OUserRegLogic* reglogic;
@end
